from pydantic import BaseModel


class UserInfo(BaseModel):

    id: int
    name: str = None
    email: str = None
    role_code: str = None